package com.me.study.javaCore.agent;

import com.me.common.util.SleepUtil;

/**
 * Java Agent 技术：被增强的目标类    <p>
 * -javaagent:../testME\testJavaAgent\target/testJavaAgent-my-assembly.jar=thisIsAgentArgs  <p>
 * -javaagent:D:\workspace\testME\testJavaAgent\target\testJavaAgent-my-assembly.jar=thisIsAgentArgs <p>
 *
 *
 * @author ME
 * @date 2021/5/6
 */
public class TransformTarget {

    public static void main(String[] args) {
        while (true) {
            print();
            SleepUtil.seconds(3);
        }
    }

    private static void print() {
        System.out.println("hello");
    }

}
